package com.saas.datasource.example;

import com.saas.datasource.core.annotation.EnableDataSourceCore;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = { "com.saas.datasource.example"})
@EnableDataSourceCore//扫包注解
@MapperScan("com.saas.datasource.example.mapper")
public class DatasourceExampleApplication {

    public static void main(String[] args) {
        SpringApplication.run(DatasourceExampleApplication.class, args);
    }

}
